package com.ww.springboot.boot.javabase.hashmap.multimap;

import com.google.common.collect.HashMultimap;

import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.Map;
import java.util.Set;

/**
 * 描述：
 *
 * @author wanwei
 * @since 2021-11-13 10:32
 */
public class Test {
    public static void main(String[] args) throws IOException {
        File file = new File("C:\\Users\\ZH500\\桌面\\test\\1722597107394-bf4f70585408435f891d70a15d188962-goods.jpeg");
        BufferedImage image = ImageIO.read(file);

        int width = image.getWidth();
        int height = image.getHeight();

        System.out.println(width);
        System.out.println(height);
    }
}
